package com.itheima.service.cmsService.impl;


import com.itheima.domain.db.cms.CmsPrefrenceArea;
import com.itheima.mapper.cmsMapper.CmsPrefrenceAreaMapper;
import com.itheima.service.cmsService.CmsPrefrenceAreaService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author: Ren
 * @date 2022 - 11 - 13 - 23:25
 * @Description: com.itheima.service.impl.cms
 * @version:1.0
 */
@DubboService
public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService {

    @Autowired
    private CmsPrefrenceAreaMapper cmsPrefrenceAreaMapper;

    @Override
    public List<CmsPrefrenceArea> findPrefrenceAreaList() {

        return cmsPrefrenceAreaMapper.selectList(null);
    }
}